package com.wenwei.sharebox.bean;

/**
 * Created by Administrator on 2017/7/17.
 */
public class ApiResultBean<T> {


    /**
     * timestamp : 1500279284717
     * code : 200
     * message : data success
     * path : http://localhost:8080/api/register
     * method : POST
     * data :
     * status : 0
     * last_password_reset : 1500279284344
     * remember_token : null
     * create_time : 1500279284344
     * update_time : null
     * delete_time : null
     */

    private long timestamp;
    private int code;
    private String message;
    private String path;
    private String method;
    private T data;
    private int status;
    private long last_password_reset;
    private String remember_token;
    private long create_time;
    private String update_time;
    private String delete_time;

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }

    public long getCreate_time() {
        return create_time;
    }

    public void setCreate_time(long create_time) {
        this.create_time = create_time;
    }

    public long getLast_password_reset() {
        return last_password_reset;
    }

    public void setLast_password_reset(long last_password_reset) {
        this.last_password_reset = last_password_reset;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getRemember_token() {
        return remember_token;
    }

    public void setRemember_token(String remember_token) {
        this.remember_token = remember_token;
    }

    public String getDelete_time() {
        return delete_time;
    }

    public void setDelete_time(String delete_time) {
        this.delete_time = delete_time;
    }
}
